<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<jsp:include page="header.jsp"></jsp:include>
	<body>
		<div id="main-content">
			<h2>
				欢迎 ${sessionScope.user.username}
			</h2>

			<div class="clear"></div>

			<div class="content-box">

				<div class="content-box-header">
					<h3>
						批量导入教工信息
					</h3>

					<div class="clear"></div>
				</div>
				<div class="content-box-content">
					<div class="tab-content default-tab" id="tab1">
						<s:actionerror />
						<form action="teacher_batch.action" method="post" id="myform"
							enctype="multipart/form-data">
							<input type="hidden" name="submitFlag" value="upload" />
							<fieldset>
								<p>
									<label>
										Excle 文件
									</label>
									<input class="text-input small-input" type="file"
										id="uploadExcle" name="uploadExcle" />
									<span id="u_msg" class="input-notification attention png_bg"></span>
									<br />
									<small>下载格式样本：<a href="../upload/temp/teacher.xls">teacher.xls</a></small>
								</p>
								<p>
									<input class="button" type="submit" id="dosubmit" value="导入" />
								</p>
							</fieldset>
							<div class="clear"></div>
						</form>

					</div>

				</div>
			</div>


			<jsp:include page="foot.jsp"></jsp:include>

		</div>
		<script type="text/javascript">
$(document).ready(function() {

	$("#dosubmit").click(function() {
			$("#myform").submit()
		
})
</script>
	</body>
</html>
